/*
 *  Copyright (C) 2010 Matthias Buch-Kromann <mbk.isv@cbs.dk>
 * 
 *  This file is part of the MatrixParser package.
 *  
 *  The MatrixParser program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.osdtsystem.matrixparser.features.keys;

/**
 *
 * @author Matthias Buch-Kromann <mbk.isv@cbs.dk>
 */
public class StringListFactory {
    final static StringList1 StringList0 = new StringList1();
    final static StringList1 StringList1 = new StringList1();
    final static StringList2 StringList2 = new StringList2();
    final static StringList3 StringList3 = new StringList3();
    final static StringList4 StringList4 = new StringList4();
    final static StringList5 StringList5 = new StringList5();
    final static StringList6 StringList6 = new StringList6();
    final static StringList7 StringList7 = new StringList7();
    final static StringList8 StringList8 = new StringList8();

    public final static StringList0 combine(String group) {
        // return StringList1.set(group, "");
        return new StringList0().set(group);
    }

    public final static StringList1 combine(String group, String f1) {
        //return StringList1.set(group, f1);
        return new StringList1().set(group, f1);
    }

    public final static StringList2 combine(String group, String f1, String f2) {
        //return StringList2.set(group, f1, f2);
        return new StringList2().set(group, f1, f2);
    }

    public final static StringList3 combine(String group, String f1, String f2, String f3) {
        //return StringList3.set(group, f1, f2, f3);
        return new StringList3().set(group, f1, f2, f3);
    }

    public final static StringList4 combine(String group, String f1, String f2, String f3, String f4) {
        //return StringList4.set(group, f1, f2, f3, f4);
        return new StringList4().set(group, f1, f2, f3, f4);
    }

    public final static StringList5 combine(String group, String f1, String f2, String f3, String f4, String f5) {
        //return StringList5.set(group, f1, f2, f3, f4, f5);
        return new StringList5().set(group, f1, f2, f3, f4, f5);
    }

    public final static StringList6 combine(String group, String f1, String f2, String f3, String f4, String f5, String f6) {
        //return StringList6.set(group, f1, f2, f3, f4, f5, f6);
        return new StringList6().set(group, f1, f2, f3, f4, f5, f6);
    }

    public final static StringList7 combine(String group, String f1, String f2, String f3, String f4, String f5, String f6, String f7) {
        //return StringList7.set(group, f1, f2, f3, f4, f5, f6, f7);
        return new StringList7().set(group, f1, f2, f3, f4, f5, f6, f7);
    }

    public final static StringList8 combine(String group, String f1, String f2, String f3, String f4, String f5, String f6, String f7, String f8) {
        //return StringList8.set(group, f1, f2, f3, f4, f5, f6, f7, f8);
        return new StringList8().set(group, f1, f2, f3, f4, f5, f6, f7, f8);
    }
}
